package mes.kanban.respository;

import java.util.List;

import org.springframework.data.jpa.repository.Query;

import mes.kanban.entity.MesWorkshop;

/**
 * 报表轮询配置
 * @author zongrui.liu
 */
public interface WorkshopRespository extends BaseJpaRespository<MesWorkshop, String> {
	
	/**
	 * 按产品分组查询数据
	 */
	@Query(" from MesWorkshop a ") 
	public List<MesWorkshop> getDataGroupByProduction();

}
